package com.tbit.main.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: chen
 * @Description: 阿里云OOS配置
 * @Date: 创建于 10:26 2020/8/3
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OssConfig {
    /**
     * 品牌id
     */
    private Integer accountId;
    /**
     * 品牌名称
     */
    private String brandName;
    /**
     * 接入点
     */
    private String endpoint;
    /**
     * key
     */
    private String accessKeyId;
    /**
     * secret
     */
    private String accessKeySecret;
    /**
     * 名称
     */
    private String bucketName;
    /**
     * 备注
     */
    private String remark;


    public OssConfig(String endpoint, String accessKeyId, String accessKeySecret,
                     String bucketName) {
        this.endpoint = endpoint;
        this.accessKeyId = accessKeyId;
        this.accessKeySecret = accessKeySecret;
        this.bucketName = bucketName;
    }

}
